package com.tianze.tzkf.function.orderDetails;


import android.view.View;
import android.widget.TextView;
import com.tianze.tzkf.R;
import com.tianze.tzkf.base.BaseActivity;
import com.tianze.tzkf.view.CircleImageView;
import butterknife.BindView;
import butterknife.OnClick;


public class OrderDetailActivity extends BaseActivity {
    @BindView(R.id.tv_orderDetail_back)
    TextView tv_orderDetail_back;
    @BindView(R.id.tv_orderDetail_userName)
    TextView tv_orderDetail_userName;
    @BindView(R.id.iv_orderDetail_userIcon)
    CircleImageView iv_orderDetail_userIcon;



    @Override
    protected void initData() {

    }

    @Override
    protected void initTitle() {
        tv_orderDetail_userName.setText(readUser());

//        Bundle extras = getIntent().getExtras();
//        Bundle data = extras.getBundle("data");
//        BannerListBean.DataBean bannerListBean = (BannerListBean.DataBean) data.getSerializable("bannerListBean");
    }

    @Override
    protected void reflshData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_order_detail;
    }

    @Override
    protected void isNetConnect(boolean isNetChanges) {

    }


    @OnClick({R.id.tv_orderDetail_back, R.id.tv_orderDetail_userName, R.id.iv_orderDetail_userIcon})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_orderDetail_back:
//                finish();
                removeCurrentActivity();
                break;
            case R.id.tv_orderDetail_userName:
                break;
            case R.id.iv_orderDetail_userIcon: // 头像
//                HomeExitDialog homeExitDialog = HomeExitDialog.newInstance(OrderDetailActivity.this);
//                homeExitDialog.show(this.getSupportFragmentManager(), "homeExitDialog");
                break;
        }
    }


}
